/*
CREATE TABLE "base_specialty_measures" (
  "sequence_nbr" varchar NOT NULL,
  "template_name" varchar NOT NULL,
  "quota_standard" varchar,
  "specialty_code" varchar,
  "cslb_name" varchar,
  "measures_type" varchar,
  "bd_code" varchar,
  "rec_user_code" varchar,
  "rec_date" varchar,
  "rec_status" varchar,
  "extend1" varchar,
  "extend2" varchar,
  "extend3" varchar,
  "description" varchar,
  "data_order" integer,
  PRIMARY KEY ("sequence_nbr", "template_name")
);
*/

use rbatis::crud;
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct BaseSpecialtyMeasures {
    pub sequence_nbr: String,
    pub template_name: String,
    pub quota_standard: Option<String>,
    pub specialty_code: Option<String>,
    pub cslb_name: Option<String>,
    pub measures_type: Option<String>,
    pub bd_code: Option<String>,
    pub rec_user_code: Option<String>,
    pub rec_status: Option<String>,
    pub rec_date: Option<String>,
    pub extend1: Option<String>,
    pub extend2: Option<String>,
    pub extend3: Option<String>,
    pub description: Option<String>,
    pub data_order: Option<i32>,
}
crud!(BaseSpecialtyMeasures {}, "base_specialty_measures");
